//
//  AmusementViewModel.swift
//  CWLiving
//
//  Created by 方正刚 on 2017/7/13.
//  Copyright © 2017年 方正刚. All rights reserved.
//

import UIKit

private let AMUSEMENT_URL = "https://capi.douyucdn.cn/api/v1/getHotRoom/2"

class AmusementViewModel: BaseViewModel {

}


extension AmusementViewModel {
    
    func requestAmusementData(finishedCallback : @escaping () -> ()) {
        
        loadAnchorData(URLSrting: AMUSEMENT_URL, finishedCallBack: finishedCallback)
        
    }
}
